home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / DEMO_VGA / VGAFONTS.LZH / FONTLOAD.ASM < prev    next >
Assembly Source File  |  1988-08-06  |  534b  |  29 lines

  1. ; FONTLOAD.ASM -- Loads a customized font
  2.     
  3. CSEG    Segment
  4.     Assume    CS:CSEG, DS:CSEG, ES:CSEG
  5.     Org    0100h
  6. Entry:    Mov    AX, 1100h    ; Load font
  7.     Mov    BH, 0Eh        ; Bytes/Char
  8.     Mov    BL, 00h        ; Block 
  9.     Mov    CX, 0100h    ; Number Chars
  10.     Mov    DX, 0000h    ; Start Char
  11.     Mov    BP, Offset Font    ; Address
  12.     Int    10h
  13.     Int    20h
  14.  
  15. Font    Label    Byte
  16.  
  17. Include    MYFONT    ; Your font file name goes here
  18.  
  19. CSEG    EndS
  20.     End    Entry
  21.  
  22.  
  23.  
  24.  
  25. Figure 14.  FONTLOAD loads a customized font in
  26. the format produced by FONT2DB.  This program
  27. requires a Macro Assembler.
  28.  
  29.